#ifndef _TESTMAINWIDGET_H
#define _TESTMAINWIDGET_H

class QIMPenWidget;
class QIMPenMatch;
class QTextEdit;

class TestMainWidget : public QWidget
{
	Q_OBJECT
	
public:
	TestMainWidget( QWidget *parent = 0, const char *name = 0, WFlags f = 0 );
	virtual ~TestMainWidget();

private slots:
	void keypress( uint scan_uni );
	void erase();
	void matchedCharacters( const QIMPenCharMatchList &cl );
	void selectCharSet( int );
	void strokeEntered( QIMPenStroke *st );
	
private:
	QIMPenWidget *pw;
	QIMPenMatch *matcher;
	QTextEdit *msgText;
};


#endif